package com.sh.data.engine.repository.dao.datadev.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.sh.data.engine.repository.dao.base.EngineBaseModel;
import lombok.*;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
@TableName("tb_datadev_vnode")
public class DatadevVnodeEntity extends EngineBaseModel<DatadevVnodeEntity> {

    private Long nodeId;

    private Date effectiveDateStart;

    private Date effectiveDateEnd;

    private Integer cycle;

    private Integer startTimeHour;

    private Integer startTimeMin;

    private Integer endTimeHour;

    private Integer endTimeMin;

    /**
     * 月、周为执行日期 ，小时、分钟为执行间隔
     */
    private String execPoint;

    private Date nextExecTime;

    /**
     * 周期依赖 0-不依赖上一调度周期 1-等待上一周期结束再运行
     */
    private Integer cycleDependency;

}
